//
//  CoMeTAppDelegate.h
//  CoMeT
//
//  Created by Gang on 6/10/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CoMeTAppDelegate : NSObject <UIApplicationDelegate> {
    NSMutableArray *bookmarks;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet UITabBarController *tabBarController;

@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (nonatomic, retain) NSMutableArray *bookmarks;

- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;
- (BOOL) isBookmarked:(NSString *) talkID;

@end
